package com.shop.dao;

import java.util.List;
import java.util.Map;

import com.shop.entity.Emp;

public interface EmpMapper {
	//多条件查询 按照姓名模糊查询  job 等值查询
	List<Emp> searchEmp(Emp emp);
	Integer updateEmp(Emp emp);
	//根据多个id查询 where id in (1,2,3,4)
	List<Emp> searchEmps(List<Integer> list);
	
	//编写方法
	public Integer searchEmpByDept(Map<String,Object> map);
}
